package com.ruoyi.merchant.service.impl;

import com.ruoyi.common.core.cg.pojo.Scholar;
import com.ruoyi.merchant.mapper.ScholarMapper;
import com.ruoyi.merchant.service.ScholarService;
import com.ruoyi.merchant.utils.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author ？？？
* @description 针对表【scholar】的数据库操作Service实现
* @createDate 2025-03-04 14:04:13
*/
@Service
public class ScholarServiceImpl
    implements ScholarService {
    @Autowired
    private ScholarMapper scholarMapper;

    @Override
    public Result ScholarList() {
        List<Scholar> scholarList = scholarMapper.ScholarList();
        return Result.ok(scholarList);
    }
}




